$(document).ready(function(){
	 var se_li = $('.seclect li');
	 var below = $('.below');
	 var upload = $('.upload');
	 var download = $('.download');
	 //判断点击的是第几个元素然后把对应框显示
	 for(var i=0,n=se_li.length;i<n;i++){
	 	se_li[i].id = i;
	 }
	//点击事件  
 	 $('.seclect').delegate('li', 'click', function(event) {
		if(this.id == 0){
			if($('#b').hasClass('below_border')){
				$('#b').removeClass('below_border');
			};
	 		$('#a').addClass('below_border');
		 	upload.css("display","block");
		 	download.css("display","none");
	 	}if(this.id == 1){
	 		$('#a').removeClass('below_border');
	 		$('#b').addClass('below_border');
	 		upload.css("display","none");
		 	download.css("display","block");
	 	}
	});
});

